[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
AUTO
Function
Set the auto answer flag in an INPUTSTR or PROMPTSTR statement.
(automatically press enter after 20 seconds of no user input)
Value
8192 = 10000000000000b = 20000o = 2000h
Remarks
The INPUTSTR and PROMPTSTR statements have the ability to automatically
answer themselves if left alone for 20 seconds. It can be especially
useful if you are writing a program that should work with automated
systems; use the AUTO constant and the question will automatically be
answered after 20 seconds just in case the automation system doesn't
know what to do with it.
Example
STRING ans
LET ans = NOCHAR()
INPUTSTR "Run program now",ans,@X0E,1,"",AUTO+YESNO
IF (ans = NOCHAR()) END
See Also:
INPUTSTR
PROMPTSTR
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson